/* 
 * File:   LogSystem.h
 * Author: Gab'z
 *
 * Created on 2 mai 2012, 23:21
 */

#ifndef LOGSYSTEM_H
#define	LOGSYSTEM_H
#include "LogMessage.h"
#include <string>

class LogSystem {
    static std::string destination;
public:
    static void log(const LogMessage& message);
    static int TRACE;
    static int DEBUG;
    static int ERROR;
private:
    static void logToFile(const std::string& message);
    static void logConsole(const std::string& message);

    LogSystem() {
    }

    LogSystem(const LogSystem& orig) {
    }

    virtual ~LogSystem();
};

#endif	/* LOGSYSTEM_H */

